<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                {if condition="$row.status==$key"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                {/if}
                {/foreach}
            </div>

        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-code" class="form-control" name="row[code]" type="text">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" class="form-control" disabled name="row[order_sn]"  value="{$order_info.sn|htmlentities}" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jz_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jz_user_id" data-rule="required" disabled data-field="utel" data-source="deerhome/user/index" class="form-control selectpage" name="row[jz_user_id]" type="text"  value="{$order_info.jz_user_id|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Use_order_sno')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-use_order_sno" class="form-control" name="row[use_order_sno]" type="text">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money_yh')}{$row.money_yh}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money_yh" class="form-control" step="0.01" {if condition="$row.status > 2"} disabled {/if} name="row[money_yh]" type="number" value="{$row.money_yh|htmlentities}">
        </div>
    </div>

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Start_day')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-start_day" class="form-control" name="row[start_day]" type="number">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('End_day')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-end_day" class="form-control" name="row[end_day]" type="number">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Get_time')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-get_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[get_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Use_time')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-use_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[use_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" name="ids"  value="{$order_info.id}">
            {if condition="$row.status > 2"}
            <button  class="btn btn-primary btn-embossed disabled">已使用</button>
            {else/}
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            {/if}

        </div>
    </div>
</form>
